package service

import "boy-go/modules/system/vo"

type SysPostService interface {
	GetById(postId int64) (*vo.SysPostModel, error)
	SelectPostListByUserId(userId int64) []*int64
	List(req *vo.QuerySysPostReq) (*vo.ListSysPostRsp, error)
	SelectPostAll() []*vo.SysPostModel
	Add(req *vo.AddSysPostReq) (*vo.AddSysPostRsp, error)
	Edit(req *vo.EditSysPostReq) (*vo.EditSysPostRsp, error)
	Del(postId int64) error
	BatchDel(ids []string) error
}
